// import ParallelGateway from "../customPalette/bpmn/parallelGateway.png";

const customElements = ['bpmn:UserTask', 'bpmn:StartEvent','bpmn:EndEvent','bpmn:ParallelGateway'] // 自定义元素的类型
const customConfig = { // 自定义元素的配置
  'bpmn:UserTask': {
    'url': require('../customModeler/css/notStarted.png'),
    // 'url': require('../../assets/rules.png'),
    // 'url': 'https://hexo-blog-1256114407.cos.ap-shenzhen-fsi.myqcloud.com/rules.png',
    'attr': {x: 0, y: 0, width: 100, height: 70}
  },
  'bpmn:StartEvent': {
    'url': require('../customModeler/css/start.png'),
    'attr': {x: 0, y: 0, width: 40, height: 40}
  },
  'bpmn:EndEvent': {
    'url': require('../customModeler/css/end.png'),
    'attr': {x: 0, y: 0, width: 40, height: 40}
  },
  'bpmn:ParallelGateway': {
    'url': require('../customModeler/css/parallelGateway.png'),
    'attr': {x: 0, y: 0, width: 40, height: 40}
  }
}
const hasLabelElements = ['bpmn:StartEvent','bpmn:EndEvent','bpmn:ParallelGateway'] // 一开始就有label标签的元素类型

export {customElements, customConfig, hasLabelElements}
